pCon.planner Plugin SDK  Version 8.16
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
pCon.planner Plugin SDK Documentation

Introduction

You can extend the functionality of pCon.planner using its plugin system.
This system is based on a set of .NET classes that are used to create a .NET library (DLL).

To create a new plugin, follow these steps:

  1. Create a new .NET 4.x Class Library project in Visual Studio.
  2. Add references to System.Drawing (from the .NET Framework) and X3gPlugin.dll (included with pCon.planner).
  3. Implement a class that derives from X3g.Plugin.Plugin. This class contains the actual plugin logic


Note: Each DLL can contain only one class that inherits from X3g.Plugin.Plugin.

For detailed documentation on how to implement a plugin, refer to the documentation for the Plugin class.

General Advice:
Avoid using asynchronous calls (like async()/await()) when invoking plugin functions!